package com.ruoyi.am.mapper;

import java.util.List;
import com.ruoyi.am.domain.AmApply;

/**
 * 申请备班Mapper接口
 * 
 * @author hkkk
 * @date 2020-12-19
 */
public interface AmApplyMapper 
{
    /**
     * 查询申请备班
     * 
     * @param id 申请备班ID
     * @return 申请备班
     */
    public AmApply selectAmApplyById(Long id);

    /**
     * 查询申请备班列表
     * 
     * @param amApply 申请备班
     * @return 申请备班集合
     */
    public List<AmApply> selectAmApplyList(AmApply amApply);

    /**
     * 新增申请备班
     * 
     * @param amApply 申请备班
     * @return 结果
     */
    public int insertAmApply(AmApply amApply);

    /**
     * 修改申请备班
     * 
     * @param amApply 申请备班
     * @return 结果
     */
    public int updateAmApply(AmApply amApply);

    /**
     * 删除申请备班
     * 
     * @param id 申请备班ID
     * @return 结果
     */
    public int deleteAmApplyById(Long id);

    /**
     * 批量删除申请备班
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteAmApplyByIds(String[] ids);
}
